# $Id: PKGBUILD 65634 2012-02-21 15:59:18Z mtorromeo $
# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: xav <xav at ethertricks dot net>

pkgname=arp-scan
pkgver=1.8.1
pkgrel=2
pkgdesc="A tool that uses ARP to discover and fingerprint IP hosts on the local network"
arch=('i686' 'x86_64')
url="http://www.nta-monitor.com/tools/arp-scan/"
license=('GPL')
depends=('libpcap' 'perl-libwww')
source=(http://www.nta-monitor.com/tools/arp-scan/download/${pkgname}-${pkgver}.tar.gz)
md5sums=('38db8f27fc6553a88367748ea04483d6')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --mandir=/usr/share/man
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}

